package java3_14;

public class Calculator {
    String brand;
    String price;
    String color;

    public int add(int a, int b) {
        int sum = 0;
        sum = a + b;
        return sum;
    }

    public float cube(float a) {
        float x = 0;
        x = a * a * a;
        return x;
    }

    public int sub(int a, int b) {
        int result = 0;
        result = a - b;
        return result;
    }

    public float mul(float a, float b) {
        float y = 0;
        y = a * b;
        return y;
    }

    public float division(float a, float b) {
        float z = 0;
        z = a / b;
        return z;
    }
}
